//babel转义 需要加载babel包
require('babel-core/register');
const express  = require('express');
let app = express();
//引入全局变量sequelize
require('./sequelize/sequelize');
const userRouter = require('./router/user');

const validator = require('validator');
//引入路由
app.use('/user',userRouter)


app.listen(3000,function () {
	console.log('3000启动');
});
